/**
 *
 * 用户管理模块
 *
 * @author leon
 * @createTime '2018/8/16'
 */


const Main = () => import( '@/views/main');

const AmwayList = () => import('@/views/amway/list');
const AmwayDetail = () => import('@/views/amway/detail');


export default [
    {
        path: '/amway',
        name: 'amway',
        meta: { name: '安利', unfold: false,icon:'el-icon-share'},
        component: Main,
        children: [
            {
                path: 'list',
                name: 'amwayList',
                component: AmwayList,
                meta: {
                    requireAuth: true,
                    name: '偶像志'
                }
            },
            {
                path: 'detail',
                name: 'amwayDetail',
                component: AmwayDetail,
                meta: {
                    requireAuth: true,
                    name: '详情'
                }
            },
        ],
        redirect: {
            name: 'amwayList'
        }
    }
]
